package work.xiaohong.common.constant;

/**
 * @author xiaohong
 * @version 1.0
 * @date 2021/9/25 0025 14:51
 * @description 消息发送状态
 */
public enum MessageStatus {

    SENDING(0,"发送中"),
    SENDSUCCESS(1,"已送达"),
    SENDFAIL(2,"发送失败"),
    READ(3,"已读消息"),
    REJECT(4,"被拒消息"),
    UNKNOW(5,"未知消息");

    private Integer status;
    private String description;

    MessageStatus(Integer status, String description) {
        this.status = status;
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public String getDescription() {
        return description;
    }
}
